/**
 * 
 */
package com.kerrykidz.common;

import java.util.ArrayList;
import java.util.List;

/**
 * 公共全局常量定义
 * 
 * @author Tik
 * 
 */
public class Constants {

	/** 总部的门店code */
	public static final String HEAD_OFFICE_CODE = "ZB";
	public static final String HEAD_BRAN_ID="ZB";
	/**
	 * 总监角色Id
	 */
	public static final String isBoss="102";
	/**
	 * 门店经理角色Id
	 */
	public static final String isManager="103";
	/** 成功 */
	public static final String SUCCESS = "1";
	/** 失败 */
	public static final String FAILURE = "0";

	/** 会员状态 1：未激活 */
	public static final String MEMBER_STATUS_NOTACTIVE = "1";
	/** 会员状态 2：有效 */
	public static final String MEMBER_STATUS_VALID = "2";
	/** 会员状态 3：过期 */
	public static final String MEMBER_STATUS_OVERDUE = "3";
	/** 会员状态 4：停卡 */
	public static final String MEMBER_STATUS_STOPCARD = "4";
	/** 会员状态5：新建 */
	public static final String MEMBER_STATUS_CREATE = "5";
	/** 会员状态0：黑名单 */
	public static final String MEMBER_STATUS_BLACK = "0";

	/** 会员类型 1：会员 */
	public static final String MEM_TYPE_MEMBER = "1";
	/** 会员类型 2：非会员 */
	public static final String MEM_TYPE_NOTMEMBER = "2";
	/** 会员类型 3：访客 */
	public static final String MEM_TYPE_VISITOR = "3";

	/** 会员历史类型 1：购票 */
	public static final String MEM_HIS_TYPE_TICKET = "1";
	/** 会员历史类型 2：购买会籍 */
	public static final String MEM_HIS_TYPE_MEMBER = "2";
	/** 会员历史类型 3：退会 */
	public static final String MEM_HIS_TYPE_RET = "3";
	
	/** 会员查询参数condition:姓名\电话\邮箱 */
	public static final String MEMBER_CONDITION = "condition";
	/** 会员查询参数telNum:电话 */
	public static final String MEMBER_TELNUM = "telNum";
	/** 会员查询参数email:邮箱 */
	public static final String MEMBER_EMAIL = "email";
	/** 会员查询参数status:状态 */
	public static final String MEMBER_STATUS = "status";
	/** 会员查询参数type:类型 */
	public static final String MEMBER_TYPE = "type";
	/** 会员查询参数birthdayStartDate:生日开始日期 */
	public static final String MEMBER_BIRTHDAYSTARTDATE = "birthdayStartDate";
	/** 会员查询参数birthdayEndDate:生日结束日期 */
	public static final String MEMBER_BIRTHDAYENDDATE = "birthdayEndDate";
	/** 会员查询参数joinStartDate:入会开始日期 */
	public static final String MEMBER_JOINSTARTDATE = "joinStartDate";
	/** 会员查询参数joinStartDate:入会结束日期 */
	public static final String MEMBER_JOINENDDATE = "joinEndDate";
	/** 会员查询参数invalidStartDate:失效开始日期 */
	public static final String MEMBER_INVALIDSATRTDATE = "invalidStartDate";
	/** 会员查询参数invalidEndDate:失效结束日期 */
	public static final String MEMBER_INVALIDENDDATE = "invalidEndDate";
	/** 会员查询参数payStartDate:购票开始日期 */
	public static final String MEMBER_PAYSTARTDATE = "payStartDate";
	/** 会员查询参数payEndDate:购票结束日期 */
	public static final String MEMBER_PAYENDDATE = "payEndDate";
	/** 会员查询参数pkUsrId:关联销售 */
	public static final String MEMBER_PKUSRID = "pkUsrId";
	/** 会员查询参数fkBranId:所属门店 */
	public static final String MEMBER_FKBRANID = "fkBranId";
	/** 会员查询参数queryType:查询类型(视图和列表的分页判断) */
	public static final String MEMBER_QUERY_TYPE = "queryType";
	/** 首页传入生日参数 */
	public static final String MEMBER_INDEX_BIRTH = "indexBirth";
	/** 首页传入过期参数 */
	public static final String MEMBER_INDEX_END_DATE = "indexEndDate";
	
	/** 条形码分页参数 */
	public static final String BARCODE_FKPAR = "fkParresId";
	/** 条形码分页参数 */
	public static final String BARCODE_FKBRANID = "fkBranId";

	/** 商品类型：=1 单次票商品分类 */
	public static final String PRODUCT_TYPE_SINGLE = "1";
	/** 商品类型：=2 会籍商品分类 */
	public static final String PRODUCT_TYPE_MEMBER = "2";
	/** 商品类型：=3 派对 */
	public static final String PRODUCT_TYPE_PARTY = "3";
	/** 商品类型：=4 团体 */
	public static final String PRODUCT_TYPE_TEAM = "4";
	/** 商品类型：=5 促销活动 */
	public static final String PRODUCT_TYPE_PROMOTION = "5";
	/** 商品类型：=6 普通商品 */
	public static final String PRODUCT_TYPE_NORMAL = "6";
	/** 商品类型：=7 派对套餐 */
	public static final String PRODUCT_TYPE_PARTY_SETMEAL = "7";
	/** 商品类型：=8 派对附加单点 */
	public static final String PRODUCT_TYPE_PARTY_ADD = "8";
	/** 商品类型：=9 装饰物 */
	public static final String PRODUCT_TYPE_ORNAMENT = "9";
	/** 商品类型：=10 课程商品 */
	public static final String PRODUCT_TYPE_COURSE = "10";
	/** 商品类型：=11 派对主食 */
	public static final String PRODUCT_TYPE_STAPLE = "11";
	/** 商品类型：=12 派对配菜 */
	public static final String PRODUCT_TYPE_GARNISH = "12";
	/** 商品类型：=13 派对饮料 */
	public static final String PRODUCT_TYPE_DRINK = "13";
	/** 商品类型：=61 普通商品-其他 */
	public static final String PRODUCT_TYPE_NORMAL_OTHER = "61";
	/** 商品类型：=20 礼券 */
	public static final String PRODUCT_TYPE_GIFT = "20";

	/** 图片根路径：对应SYS_PARA表KEY值 */
	public static final String SYS_BASE_PATH_IMAGE = "101";
	/** 宴请单路径：对应SYS_PARA表KEY值 */
	public static final String SYS_BASE_PATH_FETE = "102";
	/** 库存路径：对应SYS_PARA表KEY值 */
	public static final String SYS_BASE_PATH_STOCK = "103";
	/** 供应商协议存放的路径 */
	public static final String SYS_PATH_SUP_AGM = "104";
	/** 上传签到表存放的路径*/
	public static final String SYS_BASE_PATH_SIGN = "105";
	/** 签到表模版存放的路径*/
	public static final String SYS_BASE_PATH_SIGNFORM = "106";
	/** 服务合同存放的路径*/
	public static final String SYS_BASE_PATH_CONT = "107";
	/** 派对签到表存放的路径*/
	public static final String SYS_BASE_PATH_TSIGN = "108";
	/** 角色头像存放的路径*/
	public static final String SYS_BASE_PATH_AVATAR = "109";
	/** 预约打印合同存放路径*/
	public static final String SYS_BASE_PATH_PARHETONG = "201";
	/** k3对接金蝶系统 路径*/
	public static final String SYS_BASE_PATH_K3 = "301";

	/** 预约状态：=1 未预付 */
	public static final String RESERVE_STATUS_NOPREPAY = "1";
	/** 预约状态：=2 自动取消 */
	public static final String RESERVE_STATUS_AUTOCANCEL = "2";
	/** 预约状态：=3 取消 */
	public static final String RESERVE_STATUS_CANCEL = "3";
	/** 预约状态：=4待确认 */
	public static final String RESERVE_STATUS_TOBECONFIRM = "4";
	/** 预约状态：=5 已确认 */
	public static final String RESERVE_STATUS_CONFIRMED = "5";
	/** 预约状态：=6 进行中 */
	public static final String RESERVE_STATUS_PROCEEDING = "6";
	/** 预约状态：=7 完成 */
	public static final String RESERVE_STATUS_FINISH = "7";
	/** 预约状态：=8 删除 */
	public static final String RESERVE_STATUS_DELETE = "8";

	/** 派对主食1 :冷食 分类Id 001007001001 */
	public static final String RESERVE_PRDCATE_CODEFOOD = "001007001001";
	/** 派对主食2：热食分类Id 001007001002 */
	public static final String RESERVE_PRDCATE_HOTFOOD = "001007001002";
	/** 派对配菜分类Id 001007002 */
	public static final String RESERVE_PRDCATE_PEICAI = "001007002";
	/** 派对饮料分类Id 001007003 */
	public static final String PRDCATE_DRINK = "001007003";

	/** 附加单点主食1 :冷食 分类Id 001008001001 */
	public static final String RESERVE_PRDCATE_F_CODEFOOD = "001008001001";
	/** 附加单点主食2：热食分类Id 001008001002 */
	public static final String RESERVE_PRDCATE_F_HOTFOOD = "001008001002";
	/** 附加单点配菜分类Id 001008002 */
	public static final String RESERVE_PRDCATE_F_PEICAI = "001008002";
	/** 附加单点饮料分类Id 001008003 */
	public static final String PRDCATE_F_DRINK = "001008004";
	/** 附加单点甜点分类Id 001008004 */
	public static final String PRDCATE_F_DESSERT = "001008003";
	/** 附加单点酒类 （仅限 成人）分类Id 001008005 */
	public static final String PRDCATE_F_WINE = "001008005";
	/** 派对 001003 */
	public static final String PRDCATE_PARDUI = "001003";
	/** 团体 001004 */
	public static final String PRDCATE_TUANTI = "001004";
	/**
	 * 装饰物Id
	 */
	public static final String PRDCATE_ORNAMENT="001009";
	/** 气球类Id */
	public static final String RESERVE_PRDCATE_QIQIU = "001009001";
	/** 相片定制类Id */
	public static final String RESERVE_PRDCATE_DINGZHI = "001009002";
	/** 彩蛋类Id */
	public static final String RESERVE_PRDCATE_CEGGS = "001009003";
	/** 表演类Id perform */
	public static final String PRDCATE_PERFORM = "001009004";

	
	/**；ZBSP141126001 =小房间每小时； */
	public static final String PRD_SOVERTIMETYPE= "ZBSP141126001";
	 /**； ZBSP141126002 =大房间每小时 */
	public static final String PRD_BOVERTIMETYPE= "ZBSP141126002";
		
	/** 团体4小时单人（不含餐）SP1408070540 */
	public static final String RESERVE_PRDCATE_4NOMEAL = "ZBSP1408070540";
	/** 团体4小时单人（含餐） */
	public static final String RESERVE_PRDCATE_4MEAL = "ZBSP1408070541";
	/** 团体6小时单人（含餐） */
	public static final String RESERVE_PRDCATE_6MEAL = "ZBSP1408070542";
	/** 派对单人非周末（含餐） ZBSP1408070531 */
	public static final String RESERVE_PRDCATE_PAI = "ZBSP1408070531";
	
	/**派对单人周末（含餐） ZBSP1408070530 */
	public static final String RESERVE_PRDCATE_PAIZ = "ZBSP1408070530";

	/** 场内人员查询参数condition:姓名\电话\邮箱 */
	public static final String PER_CONDITION = "condition";
	/** 场内人员查询参数inTimeStart:入场起始时间 */
	public static final String PER_INTIME_START = "inTimeStart";
	/** 场内人员查询参数inTimeEnd:入场结束时间 */
	public static final String PER_INTIME_END = "inTimeEnd";
	/** 场内人员查询参数telNum:电话 */
	public static final String PER_TELNUM = "telNum";
	/** 场内人员查询参数email:邮箱 */
	public static final String PER_EMAIL = "email";
	/** 场内人员查询参数types:会员类型组 */
	public static final String PER_TYPES = "types";
	/** 场内人员查询参数flags:party类型组 */
	public static final String PER_FLAGS = "flags";

	/** 优惠券类型 折扣 */
	public static final String CPNDEF_DISCOUNT_TYPE_ZK = "1";
	/** 优惠券类型 代金 */
	public static final String CPNDEF_DISCOUNT_TYPE_DJ = "2";
	/**
	 * 客户服务投诉
	 */
	public static final String CUSTOMER_SERVICE_COMPLAIN="1";
	/**
	 * 客户服务申请
	 */
	public static final String CUSTOMER_SERVICE_APPLY="2";
	

	/**
	 * 虚拟商品类型
	 */
	public static final List<String> VIRTUAL_GOODS_CATE = new ArrayList<String>();

	/**
	 * =1 单次票商品分类 =2 会籍商品分类 =3 派对 =4 团体 =7 派对套餐 =8 派对附加单点 =9 装饰物 =10 课程商品 =20 礼券
	 */
	static {
		VIRTUAL_GOODS_CATE.add("1");
		VIRTUAL_GOODS_CATE.add("2");
		VIRTUAL_GOODS_CATE.add("3");
		VIRTUAL_GOODS_CATE.add("4");
		VIRTUAL_GOODS_CATE.add("7");
		VIRTUAL_GOODS_CATE.add("8");
		VIRTUAL_GOODS_CATE.add("9");
		VIRTUAL_GOODS_CATE.add("10");
		VIRTUAL_GOODS_CATE.add("20");
	}
}
